Esophageal manometry and monitoring of electrical activity of the diaphragm